home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODF-Interest Archive / March 96 / ChangeFrameShape Problem < prev    next >
Encoding:
Internet Message Format  |  1996-12-03  |  1.4 KB  |  [TEXT/ttxt]

  1. Subject:     ChangeFrameShape Problem
  2. Sent:        3/21/96 12:11 AM
  3. Received:    3/20/96 4:31 PM
  4. From:        Frederick, Frank, frederick@pharos.com
  5. Reply-To:    ODF-Interest@CILabs.ORG
  6. To:          OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
  7.  
  8. I have a Containing Part that changes the shape of an embedded frame.  I'm not
  9. using ODF for my containing Part.  I used ODFDraw as the embedded Part for
  10. testing.  I changed the containing frame's shape, using ChangeFrameShape(), 
  11. to a smaller shape inside the original shape.  If I then click outside the new
  12. shape, but inside the original shape, ODFDraw is activated ... with the new
  13. shape outlined with the double dashes.  After this inititial click, things
  14. behave as I would expect ... if I click in the same spot, ODFDraw doesn't
  15. become active.  To verify that ODFDraw has updated correctly, I acquired the
  16. used shape and frame shape from the containing frame ... then compared them to
  17. the new shape I set the frame to ... they matched correctly.  I then did the
  18. same for the containing frame's facet's active shape ... it check out ok also
  19. ... the same shape as the new one I generated.  Is this a bug that OpenDoc
  20. didn't update its internal list of active shapes correctly to use for the
  21. first mouse event?  or Is there further bookwork my containing part needs to
  22. do after calling ChangeFrameShape?
  23.  
  24. Thanks,
  25.  
  26. Frank Frederick
  27. Frederick@Pharos.com
  28.  
  29.